All Databases
Inside Mac - DAM/Ed/PPC/Slot
InitDBPack
DBGetNewQuery
DBDisposeQuery
Using the High-Level Interface
Using the Low-Level Interface
InitDBPack
Initialize the
Data Access Manager
#include <
DatabaseAccess.h
>
Data Access Manager
OSErr
InitDBPack
(
);
You must use
InitDBPack
to initialize the
Data Access Manager
before
you can use it. You must call the
InitDBPack
function before you call any
other
Data Access Manager
routines. If the
Data Access Manager
has
already been initialized, the
InitDBPack
function returns the
noErr
result
code but does nothing else.
Returns:
an operating system
Error Code
.
noErr (0) No error
rcDBWrongVersion (-812) Wrong version number
Notes: The interface routine that implements the
InitDBPack
function includes a
version number for the
Data Access Manager
. If the
Data Access Manager
is a different version from that specified by the
interface routine, then the
InitDBPack
function returns the
rcDBWrongVersion
result code.
Referenced by (47):
DBBreak
DBDisposeQuery
DBEnd
DBExec
DBGetConnInfo
DBGetErr
DBGetItem
DBGetNewQuery
DBGetQueryResults
DBGetResultHandler
DBGetSessionNum
DBInit
DBInstallResultHandler
DBKill
DBRemoveResultHandler
DBResultsToText
DBSend
DBSendItem
DBStartQuery
DBState
DBUnGetItem
Using the High-Level Interface
Using the Low-Level Interface
Data Access Mgr (Inside Mac - Index)
DBBreak (Inside Mac - DAM-Ed-PPC-Slot)
DBDisposeQuery (Inside Mac - DAM-Ed-PPC-Slot)
DBEnd (Inside Mac - DAM-Ed-PPC-Slot)
DBExec (Inside Mac - DAM-Ed-PPC-Slot)
DBGetConnInfo (Inside Mac - DAM-Ed-PPC-Slot)
DBGetErr (Inside Mac - DAM-Ed-PPC-Slot)
DBGetItem (Inside Mac - DAM-Ed-PPC-Slot)
DBGetNewQuery (Inside Mac - DAM-Ed-PPC-Slot)
DBGetQueryResults (Inside Mac - DAM-Ed-PPC-Slot)
DBGetResultHandler (Inside Mac - DAM-Ed-PPC-Slot)
DBGetSessionNum (Inside Mac - DAM-Ed-PPC-Slot)
DBInit (Inside Mac - DAM-Ed-PPC-Slot)
DBInstallResultHandler (Inside Mac - DAM-Ed-PPC-Slot)
DBKill (Inside Mac - DAM-Ed-PPC-Slot)
DBRemoveResultHandler (Inside Mac - DAM-Ed-PPC-Slot)
DBResultsToText (Inside Mac - DAM-Ed-PPC-Slot)
DBSend (Inside Mac - DAM-Ed-PPC-Slot)
DBSendItem (Inside Mac - DAM-Ed-PPC-Slot)
DBStartQuery (Inside Mac - DAM-Ed-PPC-Slot)
DBState (Inside Mac - DAM-Ed-PPC-Slot)
DBUnGetItem (Inside Mac - DAM-Ed-PPC-Slot)
Using the High-Level Interface (Inside Mac - DAM-Ed-PPC-Slot)
Using the Low-Level Interface (Inside Mac - DAM-Ed-PPC-Slot)